﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Businesses.Payments
{
    /// <summary>
    /// 支付信息
    /// </summary>
    public class PayInfo
    {
        /// <summary>
        /// 订单金额。单位：元
        /// </summary>
        public decimal Amount { get; set; } = 0;

        /// <summary>
        /// 订单描述内容
        /// </summary>
        public string Body { get; set; }

        /// <summary>
        /// 业务单号
        /// </summary>
        public string Sheet { get; set; }

        /// <summary>
        /// 附加信息
        /// </summary>
        public string Attach { get; set; }

        /// <summary>
        /// 授权码。应用场景：条码支付
        /// </summary>
        public string AuthCode { get; set; }

        /// <summary>
        /// 支付渠道
        /// </summary>
        public PayChannel Channel { get; set; }

    }
}
